package com.jumi.microservice.domain.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;


public class MessageVO implements Serializable {
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long messageId;
    @ApiModelProperty(value = "消息模板id")
    private Long templateId;
    @ApiModelProperty(value = "消息模板名称")
    @TableField(exist = false)
    private String smtName;
    @ApiModelProperty(value = "1：交易物流通知,2：商品活动通知,3：系统消息通知,4：余额变动通知")
    private Integer templateTitleType;
    @ApiModelProperty(value = "发送人")
    private Long sdMemberId;
    @ApiModelProperty(value = "接收人")
    private Long reMemberId;
    @ApiModelProperty(value = "短消息内容")
    private String messageContent;
    @ApiModelProperty(value = "0:未读,1:已读")
    private Integer messageOpen;
    @ApiModelProperty(value = "短消息发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime messageAddTime;
//    @ApiModelProperty(value = "消息阅读时间")
//    private LocalDateTime messageUpdateTime;
    @ApiModelProperty(value = "图片地址")
    private String messageImg;
    @ApiModelProperty(value = "跳转地址")
    private String link;

    public String getMessageImg() {
        return messageImg;
    }

    public void setMessageImg(String messageImg) {
        this.messageImg = messageImg;
    }

    public String getSmtName() {
        return smtName;
    }

    public void setSmtName(String smtName) {
        this.smtName = smtName;
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Integer getTemplateTitleType() {
        return templateTitleType;
    }

    public void setTemplateTitleType(Integer templateTitleType) {
        this.templateTitleType = templateTitleType;
    }

    public Long getSdMemberId() {
        return sdMemberId;
    }

    public void setSdMemberId(Long sdMemberId) {
        this.sdMemberId = sdMemberId;
    }

    public Long getReMemberId() {
        return reMemberId;
    }

    public void setReMemberId(Long reMemberId) {
        this.reMemberId = reMemberId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public Integer getMessageOpen() {
        return messageOpen;
    }

    public void setMessageOpen(Integer messageOpen) {
        this.messageOpen = messageOpen;
    }

    public LocalDateTime getMessageAddTime() {
        return messageAddTime;
    }

    public void setMessageAddTime(LocalDateTime messageAddTime) {
        this.messageAddTime = messageAddTime;
    }

//    public LocalDateTime getMessageUpdateTime() {
//        return messageUpdateTime;
//    }
//
//    public void setMessageUpdateTime(LocalDateTime messageUpdateTime) {
//        this.messageUpdateTime = messageUpdateTime;
//    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }
}
